![]() |
RemoveWindowProxy |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Dissociates a file from a window.
OSStatus RemoveWindowProxy ( WindowRef window );
A pointer to the window for which you wish to remove the associated file.
A result code.
The RemoveWindowProxy function redraws the window title bar after removing all data associated with a given file, including the proxy icon, path menu, and file data.
With Mac OS 8.5, you must save and restore the current graphics port—by calling the QuickDraw functions GetPort and SetPort—around each call to the RemoveWindowProxy function.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)